Dynomotion

Group: DynoMotion Message: 3149 From: himykabibble Date: 1/17/2012
Subject: G-code Syntax Highlighting in Scintilla
Tom,

I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.

Regards,
Ray L.
Group: DynoMotion Message: 3150 From: Tom Kerekes Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Attachments :
Hi Ray,
 
Not really.  Ours is pretty basic as you say.  See attached.
 
Regards
TK
 
 

Group: DynoMotion Message: 3151 From: himykabibble Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
"See attached." - I can't.... :-)


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>  
> Not really.  Ours is pretty basic as you say.  See attached.
>  
> Regards
> TK
>  
>  
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, January 17, 2012 9:18 AM
> Subject: [DynoMotion] G-code Syntax Highlighting in Scintilla
>
>
>  
> Tom,
>
> I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.
>
> Regards,
> Ray L.
>
Group: DynoMotion Message: 3152 From: Tom Kerekes Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Hi Ray,
 
If you go to Yahoo.com | Groups | Dynomotion
 
Select the message
 
Scroll down to the Attachment (just above the Reply button)
 
Regards
TK

Group: DynoMotion Message: 3153 From: himykabibble Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Tom,

You see an attachment in the browser? I got nothin'! I see the reply button at the bottom of the message pane, and right above that is my original post. I've tried both Chrome and IE, same result. Am I missing some setting somewhere?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>  
> If you go to Yahoo.com | Groups | Dynomotion
>  
> Select the message
>  
> Scroll down to the Attachment (just above the Reply button)
>  
> Regards
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, January 17, 2012 10:01 AM
> Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
>
>
>  
>
> "See attached." - I can't.... :-)
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> >  
> > Not really.  Ours is pretty basic as you say.  See attached.
> >  
> > Regards
> > TK
> >  
> >  
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, January 17, 2012 9:18 AM
> > Subject: [DynoMotion] G-code Syntax Highlighting in Scintilla
> >
> >
> >  
> > Tom,
> >
> > I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.
> >
> > Regards,
> > Ray L.
> >
>
Group: DynoMotion Message: 3154 From: himykabibble Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Ah! I found it, but not where you said. Left side of the window, is the list of links for the group. There is an attachments link in there I never noticed before.

Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>  
> If you go to Yahoo.com | Groups | Dynomotion
>  
> Select the message
>  
> Scroll down to the Attachment (just above the Reply button)
>  
> Regards
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, January 17, 2012 10:01 AM
> Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
>
>
>  
>
> "See attached." - I can't.... :-)
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> >  
> > Not really.  Ours is pretty basic as you say.  See attached.
> >  
> > Regards
> > TK
> >  
> >  
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, January 17, 2012 9:18 AM
> > Subject: [DynoMotion] G-code Syntax Highlighting in Scintilla
> >
> >
> >  
> > Tom,
> >
> > I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.
> >
> > Regards,
> > Ray L.
> >
>
Group: DynoMotion Message: 3155 From: Tom Kerekes Date: 1/17/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
I was just sending you a screen shot as an attachment :}
 
TK

Group: DynoMotion Message: 3200 From: himykabibble Date: 1/18/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Tom,

I completely gave up trying to make the Scintilla built-in syntax highlighting work, and broke down and wrote my own parser and highlighting code. It only tool a couple of hours. I can now easily make the highlighting work any way I want, and it seems to work perfectly. It's all of about two pages of really trivial code. It won't be real happy with invalid syntax, but I don't really care about that. And it'll sync up properly on the next valid line anyway, so no real harm done. I now have a display I'm happy with.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> I was just sending you a screen shot as an attachment :}
>  
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, January 17, 2012 11:14 AM
> Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
>
>
>  
>
> Ah! I found it, but not where you said. Left side of the window, is the list of links for the group. There is an attachments link in there I never noticed before.
>
> Regards,
> Ray L.
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> >  
> > If you go to Yahoo.com | Groups | Dynomotion
> >  
> > Select the message
> >  
> > Scroll down to the Attachment (just above the Reply button)
> >  
> > Regards
> > TK
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, January 17, 2012 10:01 AM
> > Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
> >
> >
> >  
> >
> > "See attached." - I can't.... :-)
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > >  
> > > Not really.  Ours is pretty basic as you say.  See attached.
> > >  
> > > Regards
> > > TK
> > >  
> > >  
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tuesday, January 17, 2012 9:18 AM
> > > Subject: [DynoMotion] G-code Syntax Highlighting in Scintilla
> > >
> > >
> > >  
> > > Tom,
> > >
> > > I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
Group: DynoMotion Message: 3202 From: Tom Kerekes Date: 1/18/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Hi Ray,
 
That's cool.  The main reason I used it was for the C syntax highlighting that worked out of the box.  Also the book marks, autocomplete, unlimited undo, and search/replace functionality.
 
Regards
TK

Group: DynoMotion Message: 3203 From: himykabibble Date: 1/18/2012
Subject: Re: G-code Syntax Highlighting in Scintilla
Tom,

Helps a whole lot that G-code is trivial to parse. :-)

I've updated the ZIP of my app with the highlighting.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>  
> That's cool.  The main reason I used it was for the C syntax highlighting that worked out of the box.  Also the book marks, autocomplete, unlimited undo, and search/replace functionality.
>  
> Regards
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, January 18, 2012 11:47 PM
> Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
>
>
>  
> Tom,
>
> I completely gave up trying to make the Scintilla built-in syntax highlighting work, and broke down and wrote my own parser and highlighting code. It only tool a couple of hours. I can now easily make the highlighting work any way I want, and it seems to work perfectly. It's all of about two pages of really trivial code. It won't be real happy with invalid syntax, but I don't really care about that. And it'll sync up properly on the next valid line anyway, so no real harm done. I now have a display I'm happy with.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > I was just sending you a screen shot as an attachment :}
> >  
> > TK
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, January 17, 2012 11:14 AM
> > Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
> >
> >
> >  
> >
> > Ah! I found it, but not where you said. Left side of the window, is the list of links for the group. There is an attachments link in there I never noticed before.
> >
> > Regards,
> > Ray L.
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > >  
> > > If you go to Yahoo.com | Groups | Dynomotion
> > >  
> > > Select the message
> > >  
> > > Scroll down to the Attachment (just above the Reply button)
> > >  
> > > Regards
> > > TK
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tuesday, January 17, 2012 10:01 AM
> > > Subject: [DynoMotion] Re: G-code Syntax Highlighting in Scintilla
> > >
> > >
> > >  
> > >
> > > "See attached." - I can't.... :-)
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > ÃÆ'‚ 
> > > > Not really.ÃÆ'‚  Ours is pretty basic as you say.ÃÆ'‚  See attached.
> > > > ÃÆ'‚ 
> > > > Regards
> > > > TK
> > > > ÃÆ'‚ 
> > > > ÃÆ'‚ 
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Tuesday, January 17, 2012 9:18 AM
> > > > Subject: [DynoMotion] G-code Syntax Highlighting in Scintilla
> > > >
> > > >
> > > > ÃÆ'‚ 
> > > > Tom,
> > > >
> > > > I've spent far too much time over the last day or so trying, and failing miserably, to come up with any kind of viable syntax highlighting in ScintillaNet. About all I could get of any value was highlighting the G and M codes. It looks to me like you didn't fare much better in KMotionCNC. From the (VERY) little information I could find on writing a custom lexer, it sounds like a major ordeal. I've just spent several hours trying all the available lexers, walking through and trying all the available styles to see what they map to in G-code, to no avail. Did you investigate this at all? Any words of wisdom? I'm about to throw in the towel.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>